package com.sangfor.ssl.service.https;

/* loaded from: classes2.dex */
public enum CertType {
    CERT_TYPE_NONE(-1),
    CERT_TYPE_BUS(0),
    CERT_TYPE_GM(1);
    
    private int mValue;

    public int intValue() {
        return this.mValue;
    }

    public static CertType valueOf(int i) {
        if (i == -4 || i == -3 || i == -2 || i == -1) {
            return CERT_TYPE_NONE;
        }
        if (i != 0) {
            if (i == 1) {
                return CERT_TYPE_GM;
            }
            throw new IllegalArgumentException("CertType valueOf failed, invalid value = " + i);
        }
        return CERT_TYPE_BUS;
    }

    CertType(int i) {
        this.mValue = i;
    }
}
